package com.shuyuwl.core.enums;

/**
 * @author liaokx
 * @date 2019/11/12 9:48
 */
public enum IsRoleEnum {

    ISROLE((byte)1, "有权限"),
    NOROLE((byte)2, "没有权限");

    private Byte code;

    private String message;

    IsRoleEnum(Byte code, String message) {
        this.code = code;
        this.message = message;
    }

    public void setCode(Byte code) {
        this.code = code;
    }

    public Byte getCode() {
        return code;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

}
